#ifndef __SW_INPUT_MANAGER_H__
#define __SW_INPUT_MANAGER_H__

class sw_input_manager {
	int* _times_pressed;
	int* _times_released;
	int _mouse_x;
	int _mouse_y;
	bool* _pressed;
public:
	sw_input_manager();
	~sw_input_manager();

	void key_down(int key);
	void key_up(int key);
	void mouse_moved(int x, int y);
	void reset_counts();

	int times_pressed(int key);
	int times_released(int key);
	int mouse_x();
	int mouse_y();
	bool pressed(int key);
};

#endif